<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<fieldset>
  <s:form action="course!add" method="post" style="width: 300px">
    <legend>添加学生课程成绩</legend>
    <s:select label="学生" name="course.studentId" headerKey="0" headerValue="未选择" list="students" listKey="studentId"
      listValue="studentName" />
    <s:textfield label="语文成绩" name="course.chinese" />
    <s:textfield label="数学成绩" name="course.math" />
    <s:textfield label="英语成绩" name="course.english" />
    <s:textfield label="思想政治成绩" name="course.politics" />
    <s:submit value="添加" />
  </s:form>
</fieldset>
